package com.heima.model.behavior.dtos;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Behavior {


    @ApiModelProperty(value = "文章ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long articleId;

    @ApiModelProperty(value = "阅读次数")
    private Integer count;
}
